FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (31 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-SubstanceAmount3to4.html
Url http://hl7.org/fhir/StructureMap/SubstanceAmount3to4
Version 0.1.0
Status active
Date 2024-02-22T03:16:50+00:00
Name SubstanceAmount3to4
Title SubstanceAmount Transforms: R3 to R4
Experimental False
Realm uv
Authority hl7
Description SubstanceAmountTransformsR3toR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/SubstanceAmount3to4'
/// name = 'SubstanceAmount3to4'
/// title = 'SubstanceAmount Transforms: R3 to R4'
/// status = 'active'

uses "http://hl7.org/fhir/3.0/SubstanceAmount" alias SubstanceAmountR3 as source
uses "http://hl7.org/fhir/4.0/SubstanceAmount" alias SubstanceAmount as target

imports "http://hl7.org/fhir/StructureMap/*3to4"

group SubstanceAmount(source src : SubstanceAmountR3, target tgt : SubstanceAmount) extends BackboneElement <<type+>> {
  src.amount -> tgt.amount;
  src.amountType -> tgt.amountType;
  src.amountText -> tgt.amountText;
  src.referenceRange as s -> tgt.referenceRange as t then SubstanceAmountReferenceRange(s, t);
}

group SubstanceAmountReferenceRange(source src, target tgt) extends Element {
  src.lowLimit -> tgt.lowLimit;
  src.highLimit -> tgt.highLimit;
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "SubstanceAmount3to4",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/SubstanceAmount3to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'SubstanceAmount3to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'SubstanceAmount Transforms: R3 to R4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/SubstanceAmount<span style=\"color: navy\">&quot; </span><b>alias </b>SubstanceAmountR3 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/4.0/SubstanceAmount<span style=\"color: navy\">&quot; </span><b>alias </b>SubstanceAmount <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*3to4<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>SubstanceAmount<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>SubstanceAmountR3, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>SubstanceAmount<span style=\"color: navy\">)</span><b> extends </b>BackboneElement<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span> src.amount<span style=\"color: navy\"><b> -&gt; </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n src.amountType<span style=\"color: navy\"><b> -&gt; </b></span>tgt.amountType<span style=\"color: navy\">;</span>\r\n src.amountText<span style=\"color: navy\"><b> -&gt; </b></span>tgt.amountText<span style=\"color: navy\">;</span>\r\n src.referenceRange<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.referenceRange<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceAmountReferenceRange<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstanceAmountReferenceRange<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>Element<span style=\"color: navy\"> {\r\n</span> src.lowLimit<span style=\"color: navy\"><b> -&gt; </b></span>tgt.lowLimit<span style=\"color: navy\">;</span>\r\n src.highLimit<span style=\"color: navy\"><b> -&gt; </b></span>tgt.highLimit<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/SubstanceAmount3to4",
  "version" : "0.1.0",
  "name" : "SubstanceAmount3to4",
  "title" : "SubstanceAmount Transforms: R3 to R4",
  "status" : "active",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "SubstanceAmountTransformsR3toR4",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/3.0/SubstanceAmount",
      "mode" : "source",
      "alias" : "SubstanceAmountR3"
    },
    {
      "url" : "http://hl7.org/fhir/4.0/SubstanceAmount",
      "mode" : "target",
      "alias" : "SubstanceAmount"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*3to4"
  ],
  "group" : [
    {
      "name" : "SubstanceAmount",
      "extends" : "BackboneElement",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "SubstanceAmountR3",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "SubstanceAmount",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "amount",
          "source" : [
            {
              "context" : "src",
              "element" : "amount",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "amount",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "amountType",
          "source" : [
            {
              "context" : "src",
              "element" : "amountType",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "amountType",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "amountText",
          "source" : [
            {
              "context" : "src",
              "element" : "amountText",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "amountText",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "referenceRange",
          "source" : [
            {
              "context" : "src",
              "element" : "referenceRange",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "referenceRange",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "SubstanceAmountReferenceRange",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "SubstanceAmountReferenceRange",
      "extends" : "Element",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "lowLimit",
          "source" : [
            {
              "context" : "src",
              "element" : "lowLimit",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "lowLimit",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "highLimit",
          "source" : [
            {
              "context" : "src",
              "element" : "highLimit",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "highLimit",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.